package biz

import "server/base/db"

func IncrLogKeyword(k string) {
	r := db.Primary.Exec(`update log_keyword set n=n+1 where k=?`, k)
	if r.OK() {
		return
	}
	db.Primary.Exec(`insert into log_keyword set k=?, n=1`, k)
}
